TileWorld

Undocumented in source.

Constructors

this
this(IHipTilemap map, float gravity, float constantGravity)
Undocumented in source.

Members

Functions

addCollidibleLayer
void addCollidibleLayer(HipTileLayer layer)
Undocumented in source. Be warned that the author may not have intended to support it.
addDynamic
void addDynamic(IComponentizable component)
Undocumented in source. Be warned that the author may not have intended to support it.
getRectsOverlapping
Rect[] getRectsOverlapping(HipTileLayer layer, Rect input)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.
update2
void update2(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

collidibleLayers
HipTileLayer[] collidibleLayers;
Undocumented in source.
constantGravity
float constantGravity;

Affects position

dynamicBodies
BodyRectComponent[] dynamicBodies;
Undocumented in source.
gravity
float gravity;

Affects velocity

map
IHipTilemap map;
Undocumented in source.

Meta